﻿{% extends "base.html" %}
{% load markup %}

{% block content %}
{% for post in posts %}
<table border="0" cellspacing="0" cellpadding="0" >
<tr>
<td valign="top">
<h1 style="margin‐bottom: 2px;">
<a href="/post/{{post.key.id}}">
[{{ post.category.name }}] {{ post.title }}{% if post.is_published %}
{%else%}(未发布){%endif%}
</a>
</h1>
<p style="padding:0px; margin: 0px;" class="small_font">
类别:<a href="/category/{{ post.category.key.id }}/">{{ post.category.name }}</a><span style="padding‐left:10px;">{{ post.author.nickname }}写于{{ post.create_time|date:"Y‐M‐d H:i" }}</span>
</p>
</td>
</tr>
</table>
<div style="padding‐left: 30px;">
{{ post.content|markdown }}
</div>
{% endfor %}

{% endblock %}